@import '~antd/lib/style/themes/default.less';

.wncontainer {
    background-color: #fff;
    padding: 16px 30px;
    border-radius: 4px;
    :global {
        .ant-upload-hint {
            color: rgba(0, 0, 0, 0.3);
        }
        .ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover {
            background: rgba(255, 158, 0, 0.05);
        }
        .ant-upload.ant-upload-drag-hover {
            background: rgba(255, 158, 0, 0.05);
        }
        .ant-upload.ant-upload-drag-hover .iconoa_form_bnt_upload {
            color: #ffb429;
        }
        .ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover .iconoa_form_bnt_upload {
            color: #ffb429;
        }
        .ant-calendar-picker {
            width: 100% !important;
        }
        .ant-form-item {
            margin-bottom: 24px;
        }
        .ant-form-item-with-help {
            margin-bottom: 10px;
        }
        .ant-upload.ant-upload-drag .ant-upload-btn {
            height: 200px;
        }
        .image-wrap {
            img {
                max-width: 100%;
            }
        }
        .braft-output-content {
            p {
                margin-bottom: 0;
                min-height: 30px;
                line-height: 30px;
                white-space: pre-wrap !important;
                word-wrap: break-word !important;
            }
        }
        .bf-container .public-DraftEditor-content {
            padding: 0;
        }
    }
}
.title {
    margin-bottom: 24px;
    padding-bottom: 16px;
    font-size: 14px;
    border-bottom: 1px solid #e8e8e8;
    span.spanMr {
        margin-right: 10px;
    }
    p {
        margin-bottom: 0;
    }

    .rulesFrom {
        font-size: 14px;
        font-weight: 400;
        color: #999;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
}
.rulestitle {
    font-size: 22px;
    font-weight: 500;
    color: #333;
    line-height: 46px;
    margin-bottom: 0;
}
.rulesImg {
    max-width: 420px;
    margin-bottom: 20px;
}
.rulesText {
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0.65);
    line-height: 22px;
    pre {
        margin-bottom: 0;
        font-size: 14px;
        font-weight: 400;
        color: rgba(0, 0, 0.65);
        line-height: 22px;
    }
}
.noticeText {
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0.65);
    line-height: 40px;
    white-space: pre-wrap;
    word-wrap: break-word;
    :global {
        .bf-content {
            height: auto;
        }
        .bf-controlbar {
            display: none;
        }
    }

    &::before,
    &::after {
        display: none;
    }
}
.fileFlex {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    line-height: 36px;
    margin-top: 30px;
    .fileDonwload {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 240px;
        margin-right: 10px;
        margin-bottom: 10px;
        height: 36px;
        background: rgba(0, 0, 0, 0.03);
        .fileIcon {
            margin-right: 5px;
            margin-left: 12px;
        }
        .fileName {
            display: inline-block;
            width: 140px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        .fileA {
            margin: 0 10px 0 30px;
        }
    }
}

.rulecard {
    :global {
        .ant-card-head {
            padding: 0 0 0 30px;
        }
        .ant-card-body {
            padding: 12px;
        }
    }
}
.ruleQuery {
    :global {
        .form-box {
            margin-bottom: 0 !important;
            padding: 0 0 0 !important;
        }
    }
}
.paddingBraftEditor {
    :global {
        .bf-content {
            padding: 10px;
        }
    }
}
